package cn.stylefeng.guns.modular.storage.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.storage.entity.StorageAllocationOutDetailed;
import cn.stylefeng.guns.modular.storage.model.params.StorageAllocationOutDetailedParam;
import cn.stylefeng.guns.modular.storage.model.result.StorageAllocationOutDetailedResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 调拨出库明细表 服务类
 * </p>
 *
 * @author zhucx
 * @since 2021-12-02
 */
public interface StorageAllocationOutDetailedService extends IService<StorageAllocationOutDetailed> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2021-12-02
     */
    void add(StorageAllocationOutDetailedParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2021-12-02
     */
    void delete(StorageAllocationOutDetailedParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2021-12-02
     */
    void update(StorageAllocationOutDetailedParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2021-12-02
     */
    StorageAllocationOutDetailedResult findBySpec(StorageAllocationOutDetailedParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2021-12-02
     */
    List<StorageAllocationOutDetailedResult> findListBySpec(StorageAllocationOutDetailedParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2021-12-02
     */
     LayuiPageInfo findPageBySpec(StorageAllocationOutDetailedParam param,String condition);

}
